package cn.gok.util;

/**
 * @author: 鸭鸭
 * @ClassName:ResponseCode
 * @Package:cn.gok.gokhappymall.util
 * @Description:
 * @date: 2021/8/3
 * @time: 16:32
 */
public enum ResponseCode {
    SUCCESS("0","操作成功"),
    FAIL("1","操作失败"),
    ERROR("500","程序出现未知错误"),
    FAIL_LOGIN("10","强制登录"),
    LIMIT_NUM_SUCCESS("0","LIMIT_NUM_SUCCESS"),
    LIMIT_NUM_FAIL("1","LIMIT_NUM_FAIL");


    private String code;
    private String msg;


    ResponseCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
